/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-11-24 22:18:21  
 * Copyright (c) 2015- joysuch-版权所有     
 */

package com.joysuch.wwyt.risk.service;

import java.util.List;

import com.joysuch.wwyt.risk.bean.RiskEvaluationMethodItemBean;
import com.joysuch.wwyt.risk.entity.RiskEvaluationMethodItem;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RiskEvaluationMethodItemService {

    public void add(RiskEvaluationMethodItem entity) throws Exception;

    void update(RiskEvaluationMethodItem entity) throws Exception;

    Page<RiskEvaluationMethodItem> findByPage(Pageable page);

    void delete(Long id);

    RiskEvaluationMethodItem findById(Long id);

    public List<RiskEvaluationMethodItemBean> findItems(String method, String key);

    public List<RiskEvaluationMethodItemBean> findItemsByFactor(String method, String key);
}
